package org.csu.agrisupply.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("user")
public class User {
    @TableId(value = "userId",type = IdType.INPUT)
    private String userId;
    private String username;
    @TableField(value = "tel")
    private String telephone;
    private int age;
    private int role;
    private String head;
    @TableField(value = "descInfo")
    private String description;
}
